﻿@inherits Microsoft.VisualStudio.Web.CodeGeneration.Templating.RazorTemplateBase
@@inject SignInManager<@(Model.UserClass)> SignInManager
@@{
    var hasExternalLogins = (await SignInManager.GetExternalAuthenticationSchemesAsync()).Any();
}
@{
@:<ul class="nav nav-pills nav-stacked">
@:    <li class="@@ManageNavPages.IndexNavClass(ViewContext)"><a asp-page="./Index">Profile</a></li>
@:    <li class="@@ManageNavPages.EmailNavClass(ViewContext)"><a id="email" asp-page="./Email">Email</a></li>
@:    <li class="@@ManageNavPages.ChangePasswordNavClass(ViewContext)"><a id="change-password" asp-page="./ChangePassword">Password</a></li>
@:    @@if (hasExternalLogins)
@:    {
@:        <li class="@@ManageNavPages.ExternalLoginsNavClass(ViewContext)"><a id="external-login" asp-page="./ExternalLogins">External logins</a></li>
@:    }
@:    <li class="@@ManageNavPages.TwoFactorAuthenticationNavClass(ViewContext)"><a asp-page="./TwoFactorAuthentication">Two-factor authentication</a></li>
@:    <li class="@@ManageNavPages.PersonalDataNavClass(ViewContext)"><a asp-page="./PersonalData">Personal data</a></li>
@:</ul>
}
